You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <threads>
      <thread id="1" subject="Creation of Bridges with Linux" modified="20140328032638" />
      <thread id="2" subject="Wellcome" modified="20140329160955" />
      <thread id="3" subject="Wellcome" modified="20140329160955" />
      <thread id="4" subject="added by mistake, please delete" modified="20140412133304" />
    </threads>
  </query>
</api>